package com.itany.springboot.dao;

import com.itany.springboot.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    public User selectByUsername(String username);

    public void insert(User user);

    public User selectByUsernameAndPassword(String username, String password);

}
